package com.kitty.game.zhounian;

import com.kitty.game.vip.ReqVip;
import com.kitty.game.vip.VipController;
import com.kitty.mina.annotation.RequestMapping;
import lombok.extern.slf4j.Slf4j;
import org.apache.mina.core.session.IoSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;

@Controller
@Slf4j
public class zhounianController {

    @RequestMapping
    public void opezhounian(IoSession session, ReszhounianInfo reszhounianInfo) {
       // logger.error("没毛病老帖我点击了");
      log.warn("点击了周年庆按钮=={}",reszhounianInfo.getId());
//        RespVip respVip = new RespVip();
//        respVip.setMonthVip(8000);
//        respVip.setSeasonVip(14000);
//        respVip.setYearVip(66000);
//        respVip.setStartTime(new Long(new Date().getTime() / 1000).intValue());
//        respVip.setEndTime(new Long(new Date().getTime() / 1000).intValue());
//        MessagePusher.pushMessageToTeam(session, respVip);  //会员限购



    }

}
